package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 导师培训情况对象 t_train
 * 
 * @author ruoyi
 * @date 2024-12-06
 */
public class TTrain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 培训主题 */
    @Excel(name = "培训主题")
    private String tTheme;

    /** 培训地点 */
    @Excel(name = "培训地点")
    private String address;

    /** 主办单位 */
    @Excel(name = "主办单位")
    private String unit;

    /** 培训时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "培训时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date tTime;

    /** $column.columnComment */
    private Long id;

    /** 培训人次 */
    @Excel(name = "培训人次")
    private Long num;

    public void settTheme(String tTheme) 
    {
        this.tTheme = tTheme;
    }

    public String gettTheme() 
    {
        return tTheme;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void settTime(Date tTime) 
    {
        this.tTime = tTime;
    }

    public Date gettTime() 
    {
        return tTime;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tTheme", gettTheme())
            .append("address", getAddress())
            .append("unit", getUnit())
            .append("tTime", gettTime())
            .append("id", getId())
            .append("num", getNum())
            .toString();
    }
}
